package com.sanrenzu.everybodytv.ui.mine.recommend;

import android.os.Bundle;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.sanrenzu.everybodytv.R;
import com.sanrenzu.everybodytv.utils.SwipBackActivityS;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.Unbinder;

public class PayActivity extends SwipBackActivityS {

    @BindView(R.id.textView_pay_balance)
    TextView textViewPayBalance;
    @BindView(R.id.lineLayout_pay_10)
    LinearLayout lineLayoutPay10;
    @BindView(R.id.lineLayout_pay_25)
    LinearLayout lineLayoutPay25;
    @BindView(R.id.lineLayout_pay_50)
    LinearLayout lineLayoutPay50;
    @BindView(R.id.lineLayout_pay_100)
    LinearLayout lineLayoutPay100;
    @BindView(R.id.lineLayout_pay_500)
    LinearLayout lineLayoutPay500;
    @BindView(R.id.lineLayout_pay_1000)
    LinearLayout lineLayoutPay1000;
    @BindView(R.id.lineLayout_pay_10000)
    LinearLayout lineLayoutPay10000;
    //声明黄油刀
    private Unbinder bind;
    Button button;
    /**
     * 重点：以下四行代码以该写在服务器端的
     */
    // 合作身份者id，以2088开头的16位纯数字
    public static final String PARTNER = "2088112738535023";
    // 收款支付宝账号
    public static final String SELLER = "bangninjia@126.com";
    // 商户私钥，自助生成
    public static final String RSA_PRIVATE = "MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAM99AHDnDbybtO/z/XqieV1Y1jHH3Y5m9XCGNXPMBSkIU5nzc/jLmrl034GnlaoB5q3OH2Ze99Tet816OmWfDqmCoZZIZ8g3cw8ntgM92lxwAd97Lh76NtwDQ5KN1slBw2ZUkszyvNq/VGyjqiE/270JwQWslo9qMHaPldpL/Z2tAgMBAAECgYBAYujtIDYaDjOCtrM1CBAjUHr/bacqFncZmPwjV+9OAWB4CJ03Wm9EF6l4AXonDHn5+1mxGc1MSGS/JavTdx1EG0uPyDc16BpSWbvlmKsPQgUKyAs6Fugyl11PowIDvf29geukQcKLVwhgLYHPd5hH1GO1UAF+cj/IsjIWFaGhoQJBAPtIjh8p3DBvAbgvh5fBEwjX0b6q95jkbbfdQZS4YgWFdoaP70Zq3KYw3dHVGgLJxWGxCSW2wEwoHuLzZjNwyeUCQQDTYgGOJYM0PcMkJVnEhy4S2/+mQb7WBU+mBWooUK61lUpajZuBj8xBZggrHkPU4iQB/wWOVCc8XdPaq9ctw6gpAkBH6Sya6HzV836XeiqgmCVdW33vxbeTrpNjkdMJv3Z1xAr2WUyNZ1l7yfJA8W4/LATrfyFyBImlgbnNEwDFadqtAkAr6EakbRxUxKN9JZkA3odueW4f7bYjJJVHygYj+6Zep3T7XEC559Gon/YAZtf2J0cNdxiDWO2Rd3fjCyC2K9cJAkBEQP43KekFeDdADP0QDNhG/bWfqWHfVim46EOxgJr8yw8Kr9SfinQfQZvPKPEFBvorK90/jtsukmwvEaaK+WZj";
    // 支付宝公钥
    public static final String RSA_PUBLIC = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCnxj/9qwVfgoUh/y2W89L6BkRAFljhNhgPdyPuBV64bfQNN1PjbCzkIM6qRdKBoLPXmKKMiFYnkd6rAoprih3/PrQEB/VsW8OoM8fxn67UDYuyBTqA23MML9q1+ilIZwBC2AQ2UBVOrFXfFl75p6/B5KsiNG9zpgmLCUYuLkxpLQIDAQAB";
    private static final int SDK_PAY_FLAG = 1;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_pay);
        bind = ButterKnife.bind(this);
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        bind.unbind();
    }
}
